# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Activity',
            fields=[
                ('ac_id', models.AutoField(max_length=11, serialize=False, primary_key=True)),
                ('ac_title', models.CharField(default=b'', max_length=30)),
                ('ac_address', models.CharField(max_length=30)),
                ('ac_key_word', models.CharField(default=None, max_length=8)),
                ('ac_start_time', models.DateField()),
                ('ac_end_time', models.DateField()),
                ('ac_content', models.CharField(default=b'', max_length=300)),
                ('ac_pics', models.ImageField(null=True, upload_to=b'/tmp/nlc/Activity_pic', blank=True)),
                ('ac_rank', models.IntegerField(default=1, max_length=11)),
                ('ac_score', models.IntegerField(default=0, max_length=11)),
                ('ac_flag', models.CharField(default=b'\xe6\x96\xb0\xe6\xb4\xbb\xe5\x8a\xa8', max_length=11)),
                ('ac_creator_type', models.IntegerField(default=0, max_length=1)),
                ('ac_creator_name', models.CharField(default=b'', max_length=20)),
            ],
            options={
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='Group',
            fields=[
                ('group_login_name', models.CharField(max_length=20, unique=True, serialize=False, primary_key=True)),
                ('group_pass', models.CharField(max_length=32)),
                ('group_name', models.CharField(default=b'', unique=True, max_length=20)),
                ('group_school', models.CharField(max_length=20, null=True, blank=True)),
                ('group_leader_name', models.CharField(max_length=15, null=True, blank=True)),
                ('group_email', models.CharField(max_length=20, null=True, blank=True)),
                ('group_pic', models.ImageField(null=True, upload_to=b'/tmp/nlc/Group_pic', blank=True)),
                ('group_score', models.IntegerField(default=0, max_length=11)),
                ('group_star_level', models.IntegerField(default=0, max_length=11)),
                ('group_flag', models.CharField(default=b'\xe6\x96\xb0\xe6\xb3\xa8\xe5\x86\x8c\xe5\x9b\xa2\xe4\xbd\x93', max_length=11)),
                ('group_ver_question', models.CharField(default=None, max_length=20)),
                ('group_ver_answer', models.CharField(default=None, max_length=20)),
            ],
            options={
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='User',
            fields=[
                ('user_login_name', models.CharField(default=b'', max_length=15, unique=True, serialize=False, primary_key=True)),
                ('user_pass', models.CharField(max_length=32)),
                ('user_web_name', models.CharField(default=None, unique=True, max_length=10)),
                ('user_gender', models.CharField(default=b'\xe6\x97\xa0', max_length=1)),
                ('user_school', models.CharField(default=b'\xe6\x97\xa0', max_length=20)),
                ('user_qq', models.CharField(default=b'\xe6\x97\xa0', max_length=11)),
                ('user_phone', models.CharField(max_length=11, null=True, blank=True)),
                ('user_score', models.IntegerField(default=b'0', max_length=11)),
                ('user_star_level', models.IntegerField(default=0, max_length=1)),
                ('user_flag', models.CharField(default=b'\xe6\x96\xb0\xe7\x94\xa8\xe6\x88\xb7', max_length=10)),
                ('user_pic', models.ImageField(null=True, upload_to=b'/tmp/nlc/User_pic', blank=True)),
                ('user_ver_question', models.CharField(default=None, max_length=20)),
                ('user_ver_answer', models.CharField(default=None, max_length=20)),
            ],
            options={
            },
            bases=(models.Model,),
        ),
    ]
